package tcu.iot.gasmanage.entity.person;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

@Data
@AllArgsConstructor
public class Person {
    //用户管理，用户实体类
    private int id;
    private String username;
    private String limits;
    private String name;
    private String management;
    private String phone;
    private String region;
    private String site;
    private String pipeline;
    private String email;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
    private String time;

    private String remark;
}
